got the api hooked up a bit more