simplified e() code