resolves #1 - idiomatic lcs