reading in fields from the companies table