Started queue code