trying to figure out a more elegant way of sselecting in this dropdown