added mongodb fields api