Controller added for example code