Electronic Arts today cut an unspecified number of positions at Plants vs. Zombies studio PopCap Games, the publisher confirmed to GameSpot. Kotaku first reported the layoffs and has heard from a source that as many as 40 people were affected in today’s round of layoffs.

PopCap general manager John Vechey confirmed the cuts, labeling them “painful” but “necessary.”

“The changes we made today at PopCap were painful and we’re sorry to lose some of our friends and colleagues. But it was also necessary in order to stay on course with our future plans for mobile games, live services, and new IP. PopCap is a studio that made its name building great games that the world can fall in love with, and that’s what we’ll continue to do.”

The PopCap job cuts come after a recent internal reorganization that saw the studio split into two teams: one working on mobile games and the other on console titles.

PopCap’s most recent title was February’s Plants vs. Zombies: Garden Warfare, a squad-based third-person shooter for Xbox 360 and Xbox One that critics mostly enjoyed. For more, check out GameSpot’s review.