changing r2 text box to chaotextbox