adding in rest macros