introduce subSequence() method