getting the macro to work