added detention to view and removed extra by tier code