improvement: model api
improvement: model api