add xs tanh