added the controller to the markup