cleaning up the output quite a bit, there are now edges too