This is a variation of cooking basic beans in the pressure cooker. As I was craving beans, I just threw this together with what I had on hand and the result was very good!! The ham was leftover and I was out of fresh onions so I used onion powder. I only use a digital pressure cooker so I can't speak for how this will work for the old fashioned kind. This is a great dish - ready in under an hour, start to finish!!