experimenting with macros instead of XML file