Added distinct subsequences