fix errors in data functions and use them on csv of completion times