changed init for mcmc