sequence contains - redone
fixed checking bug