val doubleIt = (i:Int) => i * 2 new Array[Int](5, doubleIt)