updates, new pure java batch style