Don't forget to pass a result parameter here once you modify `taiToTdb` to take one.