Edited Solution 39