First version of generateSequencePair()