modify what the api class actually does