Attempted to use text and scanner