added getType to Pomodoro