func task(array:[String],callback:compleatuionhandler) { for _ in 0...10 { print("downloading file ") } callback(array) }