work in progress - testing code generation of macros (currently there is a redefinition of a variable...)