adds method for multiple configs