Changed Arrays in controller to array lists