added texture modification