change to front page balance calculation