addCommas function added