added more functions from the API