replaced dropdown with pills