setting sequence counters properly