investigating the api