added macros for simple services