drop down selection and input works