POrted to Mongoose - no more errors on console