added methods to configclass