stuff for object api