editable text initial functionality