column logic working with locations