Imported gibbs sampling codes