added better modular output for data crunching