still messing with custPref query