changed lock queue from list.List to []string