The role of innovation in macroeconomy