adding ticket flag