This long start = millis(); should be unsigned long start = millis();
long start = millis();
unsigned long start = millis();
...R