change method to load textures