before creating branch