added clearInterval functions