[MINOR_CHANGE] update comments
[REFACTORING] extract methods
add fields to keep LCS information