create preamble
create model