refactored settings out
sort dates in ascending order
improved value parser
append number to duplicate column names
added first sanity check - checking for missing dates