added arg_g macro