Random graph
Bugfix and graphs