removed print_r() testing code