renmae functions because the api uses a werid naming convention