add option for using Mongo