added simple model implementation