Added getfields