add filter method to Table