simplified column filtering code