updated parm parsing