How does the sentence end?

While cooking, I had to throw out the can of collard greens and cooked some green beans since the
beans was still good.