OPINION
This is an appeal from a conviction for aggravated robbery. Punishment was assessed at ten years.
In grounds of error two through eight appellant contends he was denied effective assistance of counsel. These grounds of error point out numerous occasions on which trial counsel failed to object to inadmissible evidence or improper jury argument.
When appellant took the stand he was asked on cross-examination about the criminal character of his friends. This was improper,
Gant
v.
State,
Tex.Cr.App.,
Two detectives testified to their opinions from their examination of the files in the case that appellant was guilty. This was improper,
Boyde v. State,
Tex.Cr.App.,
“And the key point here is a man that has had nothing to do with the prior investigation who is taking the statements, who is reading the whole file. And he believes that they committed the robbery, such that he goes down to the District Attorney’s office, presents the file to the District Attorney’s office and charges are filed, based on his experience and his beliefs.
“I think I can emphasize this strong enough. Certain people have a finesse or ability to talk to other people, to elicit facts, to investigate. And this is what this detective is paid to do, what he is hired to do. And he states that he believes it to be and still does. He stated from the stand he knew Keith Barnes was in prison for this offense, the offense of aggravated robbery.”
It was also proven, without objection, that appellant’s codefendant had been convicted of this offense, (in violation of
Bacon v. State,
The effectiveness of counsel is to be judged by the totality of the representation. Cu
de v. State,
Tex.Cr.App.,
Furthermore, we are unable to say the error was harmless due to several circum *731 stances. Appellant presented several witnesses raising an alibi defense. The complaining witness was not positive about her in-court identification of appellant and had failed to recognize him in a line-up. Also, there were certain inconsistencies between her description of the robber given to the investigating officers and the appearance of appellant, and it was suggested that the earlier description more closely fit one of the witnesses who testified for the State. We are unable to say the matters that were presented to the jury without objection, and particularly the “expert” opinion of police officers that appellant was guilty, did not influence the jury’s verdict of guilty.
The judgment is reversed and the cause remanded.
