store and display best value history
minor refactoring of names + saving csv to a file