added a few more details to viterbi