What happens if the queue is empty?  Right now you'll deference a nil.