Added text insert functionality.

You can merge this 2 lines into 1