if the sequence is invalid it wont be used