Added missing method for sweetInput