Added the sequence counters and converted everything accordingly