Understanding the finance of welfare