text alg. added