working version on mongo db integration with new db schema