completes macros