basic graph finished