added the date parser