add metadata columns via loop for safety in makeRangedData