replace methods with objects for making requests