A method for modifying double stranded DNA (dsDNA) employing an RNA guided DNA endonuclease to generate two double strand breaks in the dsDNA molecule to be modified, and replacement of the sequence positioned between the double strand breaks with a substitute DNA sequence using the non-homologous end joining (NHEJ) pathway, and corresponding kits and compositions for modifying double stranded DNA molecules.