switch cost to Fe.cost in a few more places