removed the delay(50) at the very start of loop()