add queue_prototype