implemented model 0.2 as written