added batch example