removed spritegroup variable