add lcs convenience method