Now reads fields from database