subsequence problem added