added to text functions