Add print_r to callback