Initial code for base class