added more print debugging to test new array