Rewrote sprites system