Change the hero class to adapt with the controller. The console still doesnot work