started on the mongo code