rewrite crate add sprite