added the api calls as a reference in the list method