added notIn function