prebyblo filtering code