added the component function call in the controller
failing component