refactor 2 sprites