improved Elvl logic