removing mongo dependency