length test replaced by containsOne