add setTimeout event