Moving data to model