replace E with var