Buddhism in Asuka Japan

from the Nihon shoki, entry for 602 CE:

A Baekje monk named Gwalleuk arrived and presented by way of tribute books of calendar-making, of astronomy and of geomancy, and also books on the art of invisibility and magic. At this time three or four pupils were selected and made to study under Gwalleuk. Ōchin, the ancestor of the scribes of Yako studied the art of calendar-making. Kōsō Ōtomo no Suguri, studied astronomy and the art of invisibility. Hinamitatsu, the Imperial Chieftain of Yamashiro, studied magic. They all studied so far as to perfect themselves in these arts.