find-submodule routine