new date extractor alg