wrote an outcast for summary and added comments to the result part.