added not entirely working code to iterate over move source array.