added text input demo