Added nght shift function to DTR.