changed BUT to AND NOT