modified select statement in $this->select to allow multiple departments