changes to use spritesheet