added a header file with macros