able to build simple markov model