initial data processing