Rearranged the macro section so it will compile.