changed getTexture method to reference