Controller class is better structured