version now compiles and creates graph