added source terms to MHD