moved left-shifting into macro, instead of doing it directly after every macro.