mongoose definitions