added the controller to show the scores