working on jags model