Implemented Model 1 and Model 2