new method in interface. checking the edges.