tried to control decimal places using sum.toFixed(2) -- nonFun in .js