handle dynamic queue