func to bottom of macros