Cook onions (lots, very finely chopped) and garlic (a few cloves, finely chopped) in lots of butter until very soft, add premashed canned pinto beans (liquid and all), add a little milk, bring to boil, simmer to reduce until right thickness.