g to resp