make StatBase customizable