changed branch creation procedure