added thext in the controller