adding the loading of a texture