AAAAAAAARRGGGHHH what a faff
FINALLY passes unit test, want to add some edges