example macro for the code