changes to add linear fileter