SMS: Analytic functions