SMS: Algorithms and computation