simplify reqdb macros