create if statement to handle empty list of suggestions