changed fields_in to be cell references.