moved getCharge into Price.java