better date checking