DETENTION FACILITY DESIGN AND ANALYSIS