add dates validation