Added functions for branch pairs