removed print_r debug statement