+#include <Adafruit_NeoPixel.h>
+
 // Import NeoPixel library to initialize pixel 
-#define VALV_PMP 7
+#define VALV_PUMP 7
 #define VALV_CBR 6
-#define VAVL_ATM 5
+#define VALV_ATM 5
 #define PUMP	4
 #define BTN 3
 #define PRS_SEN 8
 
 // Different states of the machine: Idle, Vacuum, Dwell, and Drain
-enum states {IDLE, VACU, DWLL, DRIN}
-
+enum states {IDLED, VACU, DWLL, DRIN};
+Adafruit_NeoPixel ledStat = Adafruit_NeoPixel(1, 2, NEO_GRB + NEO_KHZ800);
 unsigned long startTime;
 
 // Machine of various 'states' and updating method
 class Machine
 {
+    public:
     // Class Member Variables
 	volatile int state;						// Current state of the machine
 	long vacDwlTime;    					// Time limit for Vacuum and Dwell state combined
 	int updateInterval; 					// Update interval for checking for changed button state
  
  	// Constructor for Machine class
-  	public:
+  	
   	Machine(int startState, long setTime, int interval = 20)
   	{
 		state = startState;

	pinMode(PRS_SEN, INPUT);
	
	pinMode(BTN, INPUT_PULLUP);
	attachINterrupt(BTN, changeState, FALLING);
}

void changeState() {
	switch (coffee.state)
	{
		case IDLE:
			coffee.state = VACU;
			//	Idle -> Vacuum
			break;
		case VACU:
			coffee.state = DRIN;

	digitalWrite(PUMP, LOW);
	digitalWrite(VALV_CBR, HIGH);

    ledStat.setPixelColor(0, ledStat.Color(255, 0, 0));
}

void drain() {
