initial commit for new cloned branch

thanks for helping me to clone and recommit this.
How could you break up this method?