add utils for model managing