wip integrating with motor/mongo