model

Implements model