added doubles instead of integers to the textfile