date checking finished