by the time that these discourses of the buddha were written down ; 500 years or so after his death ( first in the pali language and soon after in sanskrit ) , there were already about twenty schools of interpretation , each with its own texts and styles .