Changed ref to textbox