   return false;
 }
 
+bool draw_menu_frame(SSD1306 *display, SSD1306UiState* state, int x, int y) {
+  display->setTextAlignment(TEXT_ALIGN_LEFT);
+  display->setFont(Roboto_Plain_10);
+  display->drawString(0 + x, 20, "MENU: (W)");
+  return false;
+}
+
 bool msOverlay(SSD1306 *display, SSD1306UiState* state) {
   //display->drawXbm(32, 0, 8, 8, wifiActive);
   display->setTextAlignment(TEXT_ALIGN_LEFT);

  draw_totalcount_frame, 
  draw_currentconsumption_frame
};

bool (*overlays[])(SSD1306 *display, SSD1306UiState* state) = { 
  msOverlay 

    }
    
    if(pulse_triggered == true) {
    /*if(pulse_triggered == true) {
        storage.pulse_count_current_kwh++;
        if(storage.pulse_count_current_kwh == PULSES_PER_KWH) {
          storage.consumption_total++;
