added the list method
added the search method