function add() { var sum = 0; function add() { for (var i=0; i