changed phase3 to statistics only
added phase4 for performance study