The impact of immigrants on the macroeconomy