added code for E3