required for mongodb storage