removed setting multiple intervals or timeouts to the same key, improved comment clarity