complete batch running