added complete(), connectedBy() and connectedTo() methods