It is clear that an inmate population which uses the prison code as a part of its social structure is not easily resocialized. To eliminate the code is possible only if the needs which the code satisfies are fulfilled by other means or replaced.All prison personnel should avoid participating in or condoning the prison code. Rather, they should attempt to show the inmate that he can best attain his goals by cooperating with the official program rather than living by the code; this could be initiated in an orientation unit. Each new inmate should be classified by a multidisciplinary team (representing each aspect of the professional and custodial staff) according to his resocialization potential. Our experience has shown the following criteria to be most valuable: age and recidivism (both negative correlations), basic personality pattern (neurotics are most treatable, psychotics and character disorders less so), and the drive toward mental health (using observed behavior rather than the inmate's verbalizations). Those who are "prison-wise" or "institutionalized" should be segregated in their housing and their work.Certain mental hospital practices can be incorporated into the management of prisons: 1. personality change should be directed toward resocialization, not just institutional conformity; 2. freedom of movement and choice should be allowed to the practical limit of custodial security; 3. a job commensurate with his level of ability and aspiration should be available to each inmate; 4. suitable living quarters should be available, using the criteria of age and treatability; 5. interpersonal relations between officials and inmates should be structured to decrease hostility, inspire a sense of personal confidence and mutual trust, and elevate self-esteem; 6. short term satisfactions and long term goals should be allowed and encouraged.To operate such a program it is necessary to enlist the help of all personnel. One group found that their staff "would do a better job in the interests of our new therapeutic approach if they felt a sense of involvement in our goals and if their statuses were not called into question by the reorganization(4).The prison code is the epitome of the destructive anti-rehabilitative elements of most prison societies. The roles of the custodian and the professional worker have been noted. Cooperation between these two groups is essential, because both control and treatment are necessary in the resocialization of inmates. In fact, a well-controlled prison setting may actually provide a milieu for the treatment of some deviant personalities which is potentially more effective than outpatient care or the minimal custody of a mental hospital(5).