adding subsequence