reformatted the way in which the balance is calculated so that it is based on the server in real time.