Hi, Here is the final version. I missed a compile warning before. out_unlock label is no longer needed. Thanks, Badari