Working with controller