proper way of changing selection