DRYed the get requests