small brocfile refactoring