implemented batch data