Added graph
Added extend