implemented queryFields