refactored to add headers and footers to the suggestion dropdown list