modified department tree and not complete