started validation, fixed date issue