peggy thomas, unit supervisor, has been working with patients at atascadero for 18 years. >> they need to understand all of the roles of the people who are in the court. so we talk to them about the prosecutor and what he does, about the district attorney, what his role is. the public defender, the patient's role, the judge's role, so that when we go down to do the mock trial, they get a chance to practice that. >> by the time a patient is ready to take part in his mock trial, his medication has been stabilized. >> court is now in session. >> in this courtroom, therapists and staff members play the role of court officials. >> gentlemen, it's my duty to advise you of your constitutional rights. you're entitled to an attorney in all proceedings against you. if you cannot afford an attorney, an attorney will be appointed to represent you. at no cost to you. >> the people of the state of california against john guzman jr. >> mr. guzman, you're charged with three counts of assault on a non-prisoner with great bodily injury and one count of aggravated battery. do you understand these charges