initial two api calls working and tested