Renamed value to amount in costs.py