sum needed array wrapper