   
 }
 
+typedef struct {
+  DateTime set;
+  bool active;
+  bool sounding;
+} alarm;
+
 /** 
  * raises an alarm
  */
-class Alarm {
+class AlarmSounder {
   unsigned long PrevMillis;
   unsigned long DurationOn; // in millis
   unsigned long DurationOff; // in millis

};

DisplayUpdater DU;

void setup() {
  // serial debug connection

#define KEY_DOWN 1
#define KEY_UP 2
#define KEY_OK 8
// random defines
#define NALARMS 10

DateTime now = DateTime(0);

