Compositional model