improved multigraph