mongoDb assignment