mongodb assignment