Keep track of what sequence we are in and register unique