move fields into table