added pinning ability to departments