Removed unnecessary alarmTime variable