buyGas: return cost instead of revernue