basic sequence processing