Arrays and pigeons