Implementing enterprise resource planning systems with total quality control and business process reengineering