prepare for mongo