base class/index stuff