modelFilter() method added.