Instead of taking 2 in the view might be better to take 2 in the controller.