Added print_r debug snippet