conditions added to filter