got macros working