add basic macros

add basic macros