implementing hash able wrapper for edges...