SMS: Structural functions of harmony