tanh_lines