add barclamp subclass (new pattern)