changes to figure out textures