adding transitive closure and incoming node methods to the interface