model can be written as