add common mean model
added hierarchical model