formatted the select element