Added implementation of the egde object handed to the user