search function enable