start of viterbi: