tweaking the api stuff
oops