populate and format dropdowns