Відправити по sms: Statistical quality control: a loss minimization approach