added a 3 sec delay on setup to give time to the sensor to setup itself