output example: use a macro instead of a static variable