got the macros to work