modify the behavior of selection