model end