merged 'dna extending with a function'