modified class to use new background equations including chi field