Print the array each time the routine is called to check