SMS: Textbook of economic analysis