adding priority filter