Added method to Controller