Added Solution 4