Finished Chapter4. Filter