SMS: Detection theory