Changing model structure for controller