model functions by dict params