some system macros