rewrite sprite