adding in some changes to the api's