CLASS: implemented functional sets assignment