Change name from toggleInput to toggle.