implemented more methods from the api