Adding graph stuff