SMS: Elements of algebra