basic graph figured out