Data reading, formatting and processing done