add macros for easy use