cant figure out why there are 2x as many edges as expected!