continue working on the api