General logic of budgets