Added model implementation