Trying to work out charges controller.