link comet to handlers