improve use of isIn for :