add lars' viterbi