change function ec() to alias