Finishing 5th solution