removed duplicate methods for returning edge length