Simplified parm checks and added parm comment