added texture stuff