SMS: Principles of generative phonology