Added example with controller