Changing the type to text