Add add queue functionality