added template for setTimeout()