analysis macros added