added getSubNodes function