added class to get the frames of the sequence