use queue for numbers