changed input to a dropdown