Selection working correctly