Implemented add department feature