added print_df(nodelist)