SMS: From recognition to restoration