added MongoDB interface