Additional code transfer from controller to model