net worths calculated and displayed client side. code ported from my java program.