SMS: The microeconomics of market failures