working on date checks