some modification in ec