The state Department of Corrections reportedly has stopped giving unappetizing — but nutritional — loaves of food to misbehaving inmates in restricted housing.

Instead, inmates will receive a bagged meal that will contain a protein such as hard-cooked eggs, peanut butter and jelly or cheese along with fruit or fruit juice, a vegetable, bread, and milk, PennLive reports.

The move is part of an ongoing effort to humanize how the department handles its most dangerous inmates assigned to restrictive housing, the department's Executive Deputy Secretary Shirley Moore Smeal told PennLive.

The policy change was put in place at the end of October and comes a year after a lawsuit in New York over the treatment of inmates in solitary confinement.