added method getValueOfFields()