cleaning up interface
disfunctional viterbi