added in example of extending the controller