implemented TextureRepo