filling out the api