Please keep the code concise, replace L86-L88 by a single line (`return createModel(allParams)`).