added dtsa2 code