reworked spriteclass again