No exclamation point to let me know, so I forgot that array shift changes the array in place.