Shouldn't this  be queue.push?