add the rest of the api methods