completed `.getParentNum` (pending: test, docs, new module's version)