generate create filter methods