out prolog_worker