Debug input was refactored as class