added search feature with date