quality mechanism