making the api better