extract ec.go