Added fields function