>> i'm a g man. that's how i do it. medication time. about to get the medication right now. this will keep me nice, you know what i'm saying. >> right now i'm on five medications. i'm on five psych pills. this morning i took three. tonight i'll take six, you know what i'm saying? >> corey represents the type of inmate that provides a daunting challenge for jails and prisons nationwide. they show certain symptoms of mental illness, yet are incarcerated by the courts rather than hospitalized. >> mr. allen is in the general population unit. should someone be deemed incompetent, that would be through a psychiatrist and the court would deem them incompetent and you wouldn't be housed in the house of correction. you would be at bridgewater which is where our state facility is. >> though he's been ruled competent, cory has posed problems. >> he's got a very poor impulse control. when he gets ramped up, he's uncontrollable to bring down. so there are issues. sometimes he's in much more need of mental health to be seen by them and get back to a calming