most of the api. now for the v2 stuffs