refactor inputs, buttons, hero