Added print_r for debugging