changed the equality operator to eq?