constructor method in Sequence, some more sequence relative function, redefined StatRecord