move data(fields) to view