graph work in progress