department controller functions added