Add control if code has been used before