added wrapper for model builder