added back filter method for record class