add date for search publication and testing new function