Added graph prototype