doh, don't forget to pull in the endpoint