Replaced var_dump with print_r