reorganized data pipeline