bootstrapping markov
updated template