updated Queue example