second page base class