add spriteAll method
refactoring