change mongoose to try