needs cost analysis