Added simple markov wrapper