cleaned up print_r debugging