First version that produces a real graph