new work queue code