now storing more relevant information in results.txt