SMS: General theory