Solving failed test cases, kindly review.