finished hasSubsequence