《北史·列传·卷二十八》
临终时，朝廷下诏封他的儿子程公称为中散大夫，从子灵箈为著作佐郎。
临终，诏以小子公称为中散，从子灵虬为著作佐郎。
When he was dying, the imperial court issued an edict to confer his son Cheng Gongwei as Zhongsan Grand Master and his second son Ling Juan as Assistant to the Royal Historian.
<s>[INST] Translate the given Classical Chinese text into modern Chinese, then provide an English translation that captures the nuances of both versions. Classical Chinese: 临终，诏以小子公称为中散，从子灵虬为著作佐郎。 [/INST] Modern Chinese: 临终时，朝廷下诏封他的儿子程公称为中散大夫，从子灵箈为著作佐郎。 English Translation: When he was dying, the imperial court issued an edict to confer his son Cheng Gongwei as Zhongsan Grand Master and his second son Ling Juan as Assistant to the Royal Historian.</s>
Translate the given Classical Chinese text into modern Chinese, then provide an English translation that captures the nuances of both versions. Classical Chinese: 临终，诏以小子公称为中散，从子灵虬为著作佐郎。
user
Modern Chinese: 临终时，朝廷下诏封他的儿子程公称为中散大夫，从子灵箈为著作佐郎。 English Translation: When he was dying, the imperial court issued an edict to confer his son Cheng Gongwei as Zhongsan Grand Master and his second son Ling Juan as Assistant to the Royal Historian.
assistant