added RET macro