The original code also used print_r() so I left it that way.