changed setTimeout for the timer from 900 to 350