refined fillSelect functions