hmm diagram complete