               }
           }
           
-          //else if ((ScannedCube[28] == f_color) && (ScannedCube[25] == d_color)) {          -----maybe to be deleted
+          
           //Check the front bottom edge and flip it if necessary
           else if (ScannedCube[25] == d_color) {
               virtualSequence(F("fDrd"));

      break;

    case 6:
      storeLCD(F("Cube solved"), 0);
      storeLCD(F("successfully!"), 1);
      delay(3000);

//Counter of Y turns
byte yTurnCounter = 0;

//Map for transferring the virtual move to physical move depending on Y-turn counter
const byte y_map[32] PROGMEM = {'F', 'f', 'R', 'r', 'B', 'b', 'L', 'l', 
                                'R', 'r', 'B', 'b', 'L', 'l', 'F', 'f', 
                                'B', 'b', 'L', 'l', 'F', 'f', 'R', 'r',
                                'L', 'l', 'F', 'f', 'R', 'r', 'B', 'b'};

//Table for F2L step possible patterns
const byte f2l_t [][5] PROGMEM = {
  {19, 20, 7, 8, 9}, {5, 8, 9, 10, 20}, {8, 37, 9, 3, 20}, {20, 1, 8, 46, 9}, {20, 37, 8, 3, 9}, {8, 1, 9, 46, 20}, {20, 46, 8, 1, 9}, {8, 3, 9, 37, 20},
