made changes to precise calculation and made a report txt filee