branch by branch graphs implemented