generator filter sample