A variable-structure controller