 Before this, in ancient times, Indian astronomers had lent their expertise to the Chinese court.As Toby E. Huff notes, pre-modern Chinese science developed precariously without solid scientific theory, while there was a lacking of consistent systemic treatment in comparison to contemporaneous European works such as the "Concordance and Discordant Canons" by Gratian of Bologna (fl.12th century).