issues with adding

total var added with alert