completed filtered ls (first 5 of Exercise 1)