refactor departments class