adding DRYing up the requests