add function for automating the branch creations