implemented word transform.