Added a searchList function