Reducing the cost of the next generation of batteries