completed the filter specs and implementation