added basic macros