Text this: APPLYING THE QUALITY MANAGEMENT SYSTEM AND OPTIMIZING ITS COSTS