added a topology lookup method