prune some branches