a few updates to the api ... need to redo api :(