add queue and examples