Looping over arrays completed