refactored order process, statistics and design for order process