adding the play index and moving the markov stuff into it