loop over cols