add filter constructor