changes in the rstan code