sample usage about macros