frame base class