Added graph stuffs