Check the revised solution