added codeOne, set selected index of dropdowns to 0 as default