require sources inside base class