$hash{'route1'} = @$p; # holds the pathpoints for route1