val inc: Int = if (method == 1) sum1(arr)(_ + _ + 3)