inserted database functionality for ReinfLawBase