Added functionality for Mongo