Shorten the solution