Making timer for waves