added date to search alg