tealeaf code