Philosophy and techniques of quality control