try with tr instead of in-place d2u