add data processing stuff