mod base class