*) fin: the function getSubChildren