added map to column function. need to test