implemented vein distance, start of visualisation