added missing semi-colon to totalCostAlert