put branches in own dict