started handler rewrite