Create add_queue dectorator