Meanwhile, he was involved in the compilation business of the shogunate, including "Butoku taiseiki", and exchanged knowledge with Hoko HAYASHI and Confucianists of the HAYASHI style.
その間、『武徳大成記』をはじめとした幕府の編纂事業にたずさわり、林鳳岡や林門の儒家たちとも交流している。