Effects of regulation on service quality