Added print statements for search functions