final commit for viterbi branch...will be merged into prisoners