The choice function