better filtering for addresses
removing duplicate nodes
adding in point in point function