Textures-functions updated