added ToggleNumber function