use memory macros