adding simple example of controler