added mongoose in preparation of further work