changed history to text