date switch is almost done, at least parsing is fine so far