queue is sort of functional.