cleaned up decisionmaking process, pizza simulator