add filter for ids