Tag: handling text input efficiently