intergrating timer and chain processing