added the comparing sequences