added search function to list