Theory and practice of quality management