adding processing logic and data file