methode getTopLevel.