implemented filtering using lists
0.1.1