added -E flag to te