Used the new method for getting textures