implemented parse_textures