add setparam method to model