add filter and interval