finished makegraph