move properties into macrodef, add tag parameter
comment