Added scoring and clearing of sequences.