Hi there, I would like to show you my efforts on adding the missing dowhile loop in SmPL. The following code consist of the functional part and tests part. So far, it works well, the tests set have most cases that come to my mind. Cause I have some problem with the latest master code, the patch was generated by rebasing from a old version. I think it's rustic and I could use your professional suggestions to refine the code and complete the test set. Thx! Yimin