Added output of dates as strings
Preallocate struct variables