Added checks and code to show %age of data processed