markov now runs main()