the api is working perfectly