formatted the dropdown menu