function that print the extracted sequence is added