sequence in class