added ec output