created some basic macros