Update new solution for recent practice.