Some code to inject a new ticket