initial pair-end version