dev: included select function to display country label and capital of selected contry