check batchHost; simplify