analysis of costs and benefits