     qsort(cmds, count, sizeof(motor_command), compare);
 
     for(i = 0; i < count; i++)
-        dprintf("%05u: motor %d on, %u ms\n", t, cmds[i].motor, cmds[i].duration);
+        dprintf("motor %d on, %u ms\n", cmds[i].motor, cmds[i].duration);
     
     // turn motors on
     for(i = 0; i < count; i++)
     {
         if (cmds[i].motor == 0)
             digitalWrite(8, HIGH);
+
         if (cmds[i].motor == 1)
             digitalWrite(9, HIGH);
+
         if (cmds[i].motor == 2)
             digitalWrite(10, HIGH);
     }

    digitalWrite(3, HIGH);
}   
    
void loop()
{    
    dprintf("\nTequila Sunrise bot. What shall be your bidding?\n\n");
    for(;;)
    {

            }
        }
        if (cmds[i].motor == 0)
        {
            digitalWrite(8, LOW);
            dprintf("motor %d off\n", cmds[i].motor);
        }            
        if (cmds[i].motor == 1)
        {
            digitalWrite(9, LOW);
            dprintf("motor %d off\n", cmds[i].motor);
        }            
        if (cmds[i].motor == 2)
        {
            digitalWrite(10, LOW);
            dprintf("motor %d off\n", cmds[i].motor);
        }            
    }
}

