updated to allow for selection as an option in dropdowns