better test. added getoutdegree