rewrite reDraw