proper initialization of internal_queue