Added basic data processing