thanks phil! for helping think through clear everything  clearTimeout(timer);