changed timer to seconds