SMS dit: Algebraic theory of automata and languages