moved macros.h to const.h