added texture mode