removed deviance from expand_parm and also now sort parm
removed deviance from expand_parm
working on code working
auto