added plot_dict, removed randomize network