simpler contains check