How pigeons pick their targets