changed interval for sensors back to 2 seconds