How do birds pick up multiple bugs at a time in their beak?

I was gardening the other day and had a peewee wandering around collecting various small grubs and ants, then flying off. I noticed it was able to hold several things in it's beak, but then it would peck down and come back up with yet another grub, without dropping the rest.