Changed structure of department view