started writing the api