added a print_r to main