 	}
 	strip.show();
 
-	if (((ctxpair & FROM_CTX_MASK) >> 4) == (ctxpair & TO_CTX_MASK)) {
+	if (frommood == tomood) {
 		//don't do anything, not even the epsilon select,
 		//if the desired context and current context are the same
-                Serial.println("Same current and desired moods, doing nothing");
+                Serial.println(F("Same current and desired moods, doing nothing"));
 		delay(2000);
-		return;
-	}
-        Serial.print("Perform action ");
-	actionScore = epsilon_select(ctxpair, 10);
-        Serial.println(actionScore.action);
-	switch(actionScore.action) {
+	}
+        else {
+            Serial.print(F("Perform action "));
+	    actionScore = epsilon_select(ctxpair, 10);
+            Serial.println(actionScore.action);
+	    switch(actionScore.action) {
 		case 0: // Drive forward, turn around, drive back
 			wake();
 			allForward(100);

			break;
	}

	switch(ctxpair & TO_CTX_MASK) {
		case SAD:
			strip.setPixelColor(1, SAD_COLOR);
			break;

			default:
				return (UNKNOWN << 4) | UNKNOWN;
		}
	//}
	//example ctxes: happy, sad, angry, fearful, calm, focused, distracted
	//return (UNKNOWN | (UNKNOWN << 4));
}

/*** Pin Layout ***/
