changes before moving to mongodb