the whole random graph should work but need even more tests added