Heat a non-stick skillet. Once it's hot, add the chopped onion. Cook, stirring and scraping the bottom of the skillet, until onion is golden brown, adding a tablespoon of water if necessary to keep it from sticking. (Tip: Add a couple of pinches of baking soda
to speed up the caramelization.) Add the onion to the beans.