use macros from tr