graph incorporated, but several flaws