working on the date parser