add ability to readd example code to input box
updates
reword