Created model to relate the branches