Added the start of the code needed for getting batch data and returned check data.