she imagined it was the same with prisoners who felt a sense of thankfulness to the correctional officers and the institution they were incarcerated in who provided them with food , shelter , clothing , and all their medical needs .