need to change the variables in the charges controller