adding example of controller