PR/ex1.39 on issue #42