created all methods from API documentation