put together everything with mongo