added texture manager