confirmed api is working