Added looping for metadata/columns