worker / factory flow