prepare to switch to mongo