Add text functionality