Final working PROC with multiple PARMS