added ec structures