model compiles