now creates a simple graph