changing Graph, making it statically made