Some departments were profitable but overall they had a