add new feature of id exclusion