converted state inputs to dropdowns