changed not x in to x not in