OnHeroes, Sendhil Ramamurthy played a well-intentioned doctor who was essentially one of the good guys.

Now hes stepping to the bad side for his next role.

Ramamurthy will recur inThe Flashseason 6 as Dr. Ramsey Rosso, a.k.a.

the-flash-casting

WBTV; DC

the DC Comics villain Bloodwork.

The CW super-series cast and producers revealed the news during their San Diego Comic-Con panel Saturday evening.

This season is really divided up in a way that the episodes before the crossover are pre-Crisis episodes.

Then the back half of the season is all about dealing with the fallout from the events of Crisis.

The Flashreturns Tuesday, Oct. 8, at 8 p.m.

ET on the CW.