Oops, I read that .pop() as a .shift().  There is no problem here.