added ZTD code for reference on crash error