adding array sum extra value
adding array sum extra value in practice